#pragma once
#include "../stdafx.h"
#include "../renderer.h"

class Renderer;

class App
{
    public:
        static int Run(Renderer* pSample, HINSTANCE hInstance, int nCmdShow);
        static HWND GetHwnd() { return m_hwnd; }

    protected:
        static LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);

    private:
        static HWND m_hwnd;
};
